//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.timanetworks.comu.enums;

public enum BizErrorEnum implements BizEnum {
    SUCCESS("10000", "SUCCESS", "操作成功"),
    /** @deprecated */
//    @Deprecated
    URL_REQUEST_ERROR("10001", "url.request.error", "异常接口调用"),
    REQUEST_ERROR("10001", "REQUEST_ERROR", "异常接口调用"),
    PROCESS_FAIL("10002", "PROCESS_FAIL", "服务器处理失败"),
    Unknown_anomaly("10002", "Unknown_anomaly", "未知异常"),
    TOO_MANY_REQUEST("10003", "TOO_MANY_REQUEST", "访问过于频繁"),
    PERMISSION_DENY("10004", "PERMISSION_DENY", "用户服务无权限"),
    AUTHENTICATION_EXPIRED("10005", "AUTHENTICATION_EXPIRED", "身份认证过期"),
    SUCCESS_EXIST("10006", "SUCCESS_EXIST", "记录已存在"),
    /** @deprecated */
//    @Deprecated
    SUCCESS_ACOUNT_NOT_EXIST("10007", "SUCCESS_ACOUNT_NOT_EXIST", "账号不存在"),
    SUCCESS_ACCOUNT_NOT_EXIST("10007", "SUCCESS_ACCOUNT_NOT_EXIST", "账号不存在"),
    IP_LIMIT("10008", "IP_LIMIT", "IP限制"),
    PARAM_ERROR("10009", "PARAM_ERROR", "参数错误"),
    PARAM_PARSING_ERROR("10009", "PARAM_PARSING_ERROR", "参数错误"),
    PARAM_IS_NULL("10010", "PARAM_IS_NULL", "参数为空"),
    INSUFFICIENT_USER_PERMISSIONS("10011", "INSUFFICIENT_USER_PERMISSIONS", "用户权限不足"),
    NOT_PERMISSIONS("10011", "NOT_PERMISSIONS", "没有权限请求当前方法"),
    The_current_request_method_is_not_supported("10011", "The_current_request_method_is_not_supported", "不支持当前请求方法"),
    The_current_media_type_is_not_supported("10011", "The_current_media_type_is_not_supported", "不支持当前媒体类型"),
    SQLException_error("10011", "SQLException_error", "服务运行SQLException异常"),
    INVALID_METHOD("10012", "INVALID_METHOD", "方法名不存在"),
    REQUEST_API_NOT_FOUND("10013", "REQUEST_API_NOT_FOUND", "请求的方法名不存在"),
    INVALID_FORMAT("10014", "INVALID_FORMAT", "无效的数据格式"),
    MISSING_APP_KEY("10015", "MISSING_APP_KEY", "缺少AppKey参数"),
    INVALID_APP_KEY("10016", "INVALID_APP_KEY ", "非法的APP Key"),
    INVALID_ACCESS_TOKEN("10017", "INVALID_ACCESS_TOKEN", "无效的access token"),
    USER_DOES_NOT_EXISTS("10018", "USER_DOES_NOT_EXISTS", "用户不存在"),
    CONTENT_IS_NULL("10019", "CONTENT_IS_NULL", "内容为空"),
    CONTENT_IS_ILLEGAL("10020", "CONTENT_IS_ILLEGAL ", "包含非法内容"),
    PHONE_NUMBER_HAS_BEEN_USED("10020", "PHONE_NUMBER_HAS_BEEN_USED", "该手机号已经被使用"),
    /** @deprecated */
//    @Deprecated
    AUTH_FAILD("10021", "AUTH_FAILD", "验证失败"),
    AUTH_FAILED("10021", "AUTH_FAILED", "验证失败"),
    ILLEGAL_OPERATION("10022", "ILLEGAL_OPERATION", "非法操作"),
    USERNAME_OR_PASSWORD_ERROR("10023", "USERNAME_OR_PASSWORD_ERROR", "用户名或者密码错误"),
    OPERATION_FAILED("10024", "OPERATION_FAILED", "操作失败"),
    SYSTEM_ERROR("10025", "SYSTEM_ERROR", "系统异常"),
    /** @deprecated */
//    @Deprecated
    CALLSERVICCE_ERROR("10026", "CALLSERVICCE_ERROR", "调用服务异常"),
    VERSION_ERROR("10027", "VERSION_ERROR", "版本号错误"),
    SUCCESS_NOT_EXIST("10028", "SUCCESS_NOT_EXIST", "数据不存在"),
    REPEAT_OPERATION("10029", "REPEAT_OPERATION", "重复操作"),
    SHOP_IS_NOT_EXIST("10030", "SHOP_IS_NOT_EXIST", "门店不存在"),
    LOGOUT_BY_LIMIT_STRATEGY("10200", "LOGOUT_BY_LIMIT_STRATEGY", "您账号已被强制登出"),
    LOGIN_FAILED_FIVE_TIMES("10201", "LOGIN_FAILED_FIVE_TIMES", "密码错误5次，您的账号已经被封停30分钟"),
    LOGIN_FAILED_WITH_TIMES("10202", "LOGIN_FAILED_WITH_TIMES", "密码错误{0}次"),
    SMSCODE_REQUEST_MORE_THEN_FIVE_TIMES("10203", "SMSCODE_REQUEST_MORE_THEN_FIVE_TIMES", "短信验证码请求次数过多，请30分钟之后再获取"),
    CHANGE_DEVICE_MORE_THEN_FIVE_TIMES("10204", "CHANGE_DEVICE_MORE_THEN_FIVE_TIMES", "切换设备过于频繁，您的账号已经被封停30分钟"),
    DIFF_LAST_LOGIN_DEVICE("10205", "DIFF_LAST_LOGIN_DEVICE", "您的账号尝试在非常用设备登陆，请用使用短信验证码方式重新登陆"),
    NO_NEED_EXECUTE("11000", "NO_NEED_EXECUTE", "不需要执行"),

    FAILURE("29999", "failure", "请求失败"),

    /** @deprecated */
//    @Deprecated
    End("99999", "End", "不需要执行");

    private String code;
    private String name;
    private String desc;

    private BizErrorEnum(String code, String name, String desc) {
        this.code = code;
        this.name = name;
        this.desc = desc;
    }

    public String getCode() {
        return this.code;
    }


    public String getName() {
        return this.name;
    }

    public String getDesc() {
        return this.desc;
    }
}
